Optimal. Leaf size=74 \[ -2 a^{3/2} \tanh ^{-1}\left (\frac{\sqrt{a} x}{\sqrt{a x^2+b x^3}}\right )+\frac{2 a \sqrt{a x^2+b x^3}}{x}+\frac{2 \left (a x^2+b x^3\right )^{3/2}}{3 x^3} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0958373, antiderivative size = 74, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 3, integrand size = 19, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.158, Rules used = {2021, 2008, 206} \[ -2 a^{3/2} \tanh ^{-1}\left (\frac{\sqrt{a} x}{\sqrt{a x^2+b x^3}}\right )+\frac{2 a \sqrt{a x^2+b x^3}}{x}+\frac{2 \left (a x^2+b x^3\right )^{3/2}}{3 x^3} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2021
Rule 2008
Rule 206
Rubi steps
\begin{align*} \int \frac{\left (a x^2+b x^3\right )^{3/2}}{x^4} \, dx &=\frac{2 \left (a x^2+b x^3\right )^{3/2}}{3 x^3}+a \int \frac{\sqrt{a x^2+b x^3}}{x^2} \, dx\\ &=\frac{2 a \sqrt{a x^2+b x^3}}{x}+\frac{2 \left (a x^2+b x^3\right )^{3/2}}{3 x^3}+a^2 \int \frac{1}{\sqrt{a x^2+b x^3}} \, dx\\ &=\frac{2 a \sqrt{a x^2+b x^3}}{x}+\frac{2 \left (a x^2+b x^3\right )^{3/2}}{3 x^3}-\left (2 a^2\right ) \operatorname{Subst}\left (\int \frac{1}{1-a x^2} \, dx,x,\frac{x}{\sqrt{a x^2+b x^3}}\right )\\ &=\frac{2 a \sqrt{a x^2+b x^3}}{x}+\frac{2 \left (a x^2+b x^3\right )^{3/2}}{3 x^3}-2 a^{3/2} \tanh ^{-1}\left (\frac{\sqrt{a} x}{\sqrt{a x^2+b x^3}}\right )\\ \end{align*}
Mathematica [A] time = 0.0426705, size = 68, normalized size = 0.92 \[ \frac{2 x \sqrt{a+b x} \left (\sqrt{a+b x} (4 a+b x)-3 a^{3/2} \tanh ^{-1}\left (\frac{\sqrt{a+b x}}{\sqrt{a}}\right )\right )}{3 \sqrt{x^2 (a+b x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.007, size = 63, normalized size = 0.9 \begin{align*} -{\frac{2}{3\,{x}^{3}} \left ( b{x}^{3}+a{x}^{2} \right ) ^{{\frac{3}{2}}} \left ( 3\,{a}^{3/2}{\it Artanh} \left ({\frac{\sqrt{bx+a}}{\sqrt{a}}} \right ) - \left ( bx+a \right ) ^{{\frac{3}{2}}}-3\,a\sqrt{bx+a} \right ) \left ( bx+a \right ) ^{-{\frac{3}{2}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (b x^{3} + a x^{2}\right )}^{\frac{3}{2}}}{x^{4}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 0.810448, size = 296, normalized size = 4. \begin{align*} \left [\frac{3 \, a^{\frac{3}{2}} x \log \left (\frac{b x^{2} + 2 \, a x - 2 \, \sqrt{b x^{3} + a x^{2}} \sqrt{a}}{x^{2}}\right ) + 2 \, \sqrt{b x^{3} + a x^{2}}{\left (b x + 4 \, a\right )}}{3 \, x}, \frac{2 \,{\left (3 \, \sqrt{-a} a x \arctan \left (\frac{\sqrt{b x^{3} + a x^{2}} \sqrt{-a}}{a x}\right ) + \sqrt{b x^{3} + a x^{2}}{\left (b x + 4 \, a\right )}\right )}}{3 \, x}\right ] \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\left (x^{2} \left (a + b x\right )\right )^{\frac{3}{2}}}{x^{4}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.19226, size = 115, normalized size = 1.55 \begin{align*} \frac{2 \, a^{2} \arctan \left (\frac{\sqrt{b x + a}}{\sqrt{-a}}\right ) \mathrm{sgn}\left (x\right )}{\sqrt{-a}} + \frac{2}{3} \,{\left (b x + a\right )}^{\frac{3}{2}} \mathrm{sgn}\left (x\right ) + 2 \, \sqrt{b x + a} a \mathrm{sgn}\left (x\right ) - \frac{2 \,{\left (3 \, a^{2} \arctan \left (\frac{\sqrt{a}}{\sqrt{-a}}\right ) + 4 \, \sqrt{-a} a^{\frac{3}{2}}\right )} \mathrm{sgn}\left (x\right )}{3 \, \sqrt{-a}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]